package org.jsbd.boss.dao.impl;

import java.util.List;

import org.jsbd.boss.dao.IUmConfigProvinceDao;
import org.jsbd.boss.domian.UmConfigProvince;

public class UmConfigProvinceDaoImpl extends UmengBrushBaseDao implements IUmConfigProvinceDao {

	@Override
	public void save(UmConfigProvince umConfigProvince) {
		super.insert("um_config_province.insert_um_config_province", umConfigProvince);
	}
	
	@SuppressWarnings("unchecked")
	@Override
	public List<UmConfigProvince> getByConfigInfoId(Integer configInfoId) {
		return super.queryForList("um_config_province.select_by_config_info_id", configInfoId);
	}

	@Override
	public void delete(UmConfigProvince umConfigProvince) {
		super.delete("um_config_province.delete_um_config_province",umConfigProvince);
	}

}
